package com.winter.mapper;

import com.winter.model.News;

import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface NewsMapper {
    int insert(News record);

    int insertSelective(News record);

    Map<String,Object> selectByLatestTime();
}